<script type="text/javascript" language="javascript" charset="utf-8">
$(".header-con li a").removeClass("open-menu");
$(".header-con li #target").addClass("open-menu");
</script>
<div class="boxed clearfix">
  <div class="common-tit">
    <h2>意向学员信息</h2>
    <span>团队管理 >  学员详情</span>
  </div>
  <div class="ad-box">
    <div class="account-infor">
      <h3>
        <span>基本信息</span>
      </h3>
      <div class="inte-b clearfix">
        <div class="camera-b"></div>	
        <ul class="inte-list clearfix">
          <li>
            <span>姓名:</span>
            <em><%= @potential_student.name %></em>
          </li>
          <li>
            <span>别名:</span>
            <em><%= @potential_student.alias_name %></em>
          </li>
          <li>
            <span>性别:</span>
            <em><%= @potential_student.sex %></em>
          </li>
          <li>
            <span>学员分组:</span>
            <em><%= @potential_student.student_group_configuration.group_name if @potential_student.student_group %></em>
          </li>
          <li>
            <span>手机号:</span>
            <em><%= @potential_student.mobile %></em>
          </li>
          <li>
            <span>微信号:</span>
            <em><%= @potential_student.weixin %></em>
          </li>
          <li>
            <span>出生日期:</span>
            <em><%= @potential_student.birthday %></em>
          </li>
          <li>
            <span>信息来源:</span>
            <em><%= @potential_student.source_from %></em>
          </li>
          <li>
            <span>紧急联系人:</span>
            <em><%= @potential_student.emergency_contact %></em>
          </li>
          <li>
            <span>紧急联系人电话:</span>
            <em><%= @potential_student.emergency_mobile %></em>
          </li>
          <li class="int-a">
            <span>联系地址:</span>
            <em><%= @potential_student.address %></em>
          </li>
          <li class="int-a">
            <span>备注信息:</span>
            <em><%= @potential_student.learning_requirement %> &nbsp; <%= @potential_student.state_of_business %> &nbsp; <%= @potential_student.learning_intention %></em>
          </li>
        </ul>
      </div>
      <h3>
        <span>相关信息</span>
      </h3>
      <div class="course-b clearfix">
        <div class="relevant">
          <div>
            <span>市场专员:</span>
            <em><%= @potential_student.market_employee.name if @potential_student.market_employee_id %></em>
          </div>
          <div>
            <span>意向导师:</span>
            <em><%= @potential_student.willing_teacher %></em>
          </div>
          <div>
            <span>意向分店:</span>
            <em><%= @potential_student.intention_studio.name if @potential_student.willing_studio %></em>
          </div>
        </div>
      </div>
    </div>
    <div class="course-box">
      <h3>
        <span>回访记录</span>
      </h3>
      <div class="visit">
        <% @potential_student.student_remarks.each do |sr| %>
          <div class="visit-box">
            <div>
              <span>时间:</span>
              <em><%= sr.remark_at %></em>
              <span>姓名:</span>
              <em><%= sr.market_employee.name %></em>
            </div>
            <p><%= sr.remark.html_safe %></p>
          </div>
        <%end%>
      </div>
    </div>
  </div>	
</div>	
<script src="/assets/js/common-list.js"></script>
